package com.das.mechanic_base.bean.search;

import com.das.mechanic_base.widget.StringConverter;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;

@Entity
public class SaveSearchBean {

    @Id(autoincrement = true)
    private Long id;

    /**
     * 通过用户电话查询
     */
    private String userName;

    @Convert(columnType = String.class, converter = StringConverter.class)
    private List<String> mList;

    @Generated(hash = 394927651)
    public SaveSearchBean(Long id, String userName, List<String> mList) {
        this.id = id;
        this.userName = userName;
        this.mList = mList;
    }

    @Generated(hash = 1471292447)
    public SaveSearchBean() {
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<String> getMList() {
        return this.mList;
    }

    public void setMList(List<String> mList) {
        this.mList = mList;
    }
}
